extends "../cex___toolman/cex___toolman.gd"

func _info():
	pass
func _connect():
	._connect()
	pass
func _init():
	._init()
func _extInit():
	._extInit()
	chaName = "沙包"
	attCoe.atkRan = 4
	attCoe.maxHp = 1111111111
	attCoe.atk = 1
	attCoe.mgiAtk = 0
	lv = 4

#	addCdSkill("sb",1)
	#aiOn = false
#func _onBattleStart():
#	addBuff(BF.new(1))
#func _castCdSkill(id):
#	._castCdSkill(id)
#	if id == "sb":
#		addBuff(BF.new(1))
#		var chas = getAllChas(1)
#		for i in chas:
#			i.plusHp(-i.att.maxHp)
#			hurtChara(i,0)
func _upS():
	._upS()
	print("==========")
	for i in buffs:
		print(i.id," ---- ",i.get("cha"))
	print("==========")
	
class BF:
	extends Buff
	func _init(lv):
		attInit()
		life = 1000000
		att.atk = 100